package com.biz.model.Hmodel.sys;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
  /*************************************************************************
 * 版本：         V1.0  
 *
 * 文件名称 ：Tmenu.java 描述说明 ：
 * 
 * 创建信息 : create by 曹凯 on 2015-11-24 下午5:10:26  修订信息 : modify by ( ) on (date) for ( )
 * 
 * 版权信息 : Copyright (c) 2015 扬州北斗软件有限公司
 **************************************************************************/
@Entity
@Table(name = "a_menu")
public class Tmenu {
	private String id;
	private String pid;
	private String text;
	private String href;
	private String iconCls;
	private short isOpen=0;
	private short isDel	=0;
	private int platform=0;
	public Tmenu() {
		super();
	}
	
	
	


	public Tmenu(String id, String pid, String text, String href,
			String iconCls, short isOpen, short isDel, int platform) {
		super();
		this.id = id;
		this.pid = pid;
		this.text = text;
		this.href = href;
		this.iconCls = iconCls;
		this.isOpen = isOpen;
		this.isDel = isDel;
		this.platform = platform;
	}





	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false, length = 50)	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	@Column(name = "pid", length = 50)
	public String getPid() {
		return pid;
	}
	
	public void setPid(String pid) {
		this.pid = pid;
	}
	@Column(name = "text", length = 255)
	public String getText() {
		return text;
	}


	public void setText(String text) {
		this.text = text;
	}

	
	
	@Column(name = "href", length = 255)

	

	public String getHref() {
		return href;
	}


	public void setHref(String href) {
		this.href = href;
	}


	@Column(name = "iconCls", length = 250)
	public String getIconCls() {
		return iconCls;
	}
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
	@Column(name = "isOpen")
	public short getIsOpen() {
		return isOpen;
	}
	public void setIsOpen(short isOpen) {
		this.isOpen = isOpen;
	}
	@Column(name = "isDel")
	public short getIsDel() {
		return isDel;
	}
	public void setIsDel(short isDel) {
		this.isDel = isDel;
	}
	@Column(name = "platform")
	public int getPlatform() {
		return platform;
	}
	public void setPlatform(int platform) {
		this.platform = platform;
	}
	


}
